package com.test.qrcode.manage.model.entity;

import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * @program qrcode
 * @Title: User
 * @description: User实体类
 * @author: XueXiao
 * @create: 2019-02-27 17:56:13
 */
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    private long id;
    private String uname;
    private String passwd;
    private String gentle;
    private String email;
    private String city;

    public User() {
        super();
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getGentle() {
        return gentle;
    }

    public void setGentle(String gentle) {
        this.gentle = gentle;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "User [id=" + id + ", uname=" + uname + ", gentle=" + gentle
                + ", email=" + email + ", city=" + city + "]";
    }
}
